/*******************************************************
> Copyright (C) 2024 ==IOT== All rights reserved.
> File Name: friend.cpp
> Author: IOT
> Website:www.slq.org
> Created Time: 2024年10月23日 星期三 18时51分22秒
***************************************************/

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>

using namespace std;
class Car {
	string brand;
	float capacity;

	public:
		Car(const string &brand) 
		{
			this->brand = brand;
		}
		void run()
		{
		}
	friend void check(const Car& car);
};

void check(const Car& car)
{
	cout << car.brand << endl;
}

int main(int argc,const char* argv[])
{
	Car bmw("bmw");

	check(bmw);

    return 0;
}

